package com.colud.colud_eureka_feign.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value="example-service",fallback =ExampleClientHystrix.class)
public interface ExampleClient {
	
	@RequestMapping(value = "/shopping" ,method = RequestMethod.GET)
    public String shopping(@RequestParam(value="434") String code, @RequestParam(value="3534") Integer num);
}
